package cn.itsource.exam.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * Created by su on 2020/7/9.
 */

@Data
@TableName("t_log")
public class LogInfo {

    private Long id;
    private String content;
    private String operateuser;
    private Integer moudleid;   //0、老师 1、学生 2、班级 3、学科
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date addtime;

    public LogInfo() {
    }

    public LogInfo(Integer moudleid, String content, String operateuser) {
        this.moudleid = moudleid;
        this.content = content;
        this.operateuser = operateuser;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOperateuser() {
        return operateuser;
    }

    public void setOperateuser(String operateuser) {
        this.operateuser = operateuser;
    }

    public Integer getMoudleid() {
        return moudleid;
    }

    public void setMoudleid(Integer moudleid) {
        this.moudleid = moudleid;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }
}
